package com.hhx.androidrxmvp.base;

import android.os.Bundle;
import android.view.View;

import com.hhx.androidrxmvp.eventbus.ActionEvent;
import com.hhx.androidrxmvp.utils.LogUtil;

/**
 * Created by Administrator on 2019/3/15.
 */

public abstract class SimpleActivity extends BaseActivity {

    @Override
    protected void initView(Bundle savedInstanceState) {

    }

    @Override
    protected void getBundleExtras(Bundle extras) {

    }

    @Override
    protected TransitionMode getOverridePendingTransitionMode() {
        return TransitionMode.FADE;
    }

    @Override
    protected boolean toggleOverridePendingTransition() {
        return true;
    }

    @Override
    protected boolean isImmersionBarEnabled() {
        return super.isImmersionBarEnabled();
    }

    @Override
    protected View getLoadingTargetView() {
        return null;
    }

    @Override
    protected void onEventDispose(ActionEvent actionEvent) {
        LogUtil.d(TAG, "actionEvent:" + actionEvent.getEventCode());
    }
}
